From 967e29dafdeaa22f68527678685a06ec5ed23b20 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 20 Jul 2009 02:31:05 +0000 Subject: [PATCH] Add Makefile targets to make it easy to build Mac DMG with GUI. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@3720 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/Makefile.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gpsbabel/Makefile.in b/gpsbabel/Makefile.in index e7b090dd4..08c7593f7 100644 --- a/gpsbabel/Makefile.in +++ b/gpsbabel/Makefile.in @@ -341,6 +341,19 @@ mac-release: tar cvzf gpsbabel-osx.tgz usr/bin/gpsbabel curl -u anonymous:anonymous --upload-file gpsbabel-osx.tgz ftp://upload.sf.net/incoming/ + +mac-gui: gpsbabel + cd gui ; qmake && xcodebuild + cp gpsbabel gui/objects/gpsbabelfe-bin.app/Contents/MacOS + cp -r gui/help gui/objects/gpsbabelfe-bin.app/Contents/MacOS + cp gui/gmapbase.html gui/objects/gpsbabelfe-bin.app/Contents/MacOS + +# Build the Qt front end, place GPSBabel in the right place, deploy all +# the libs. +mac-gui-dmg: mac-gui + rm -f gui/objects/gpsbabelfe-bin.dmg + cd gui/objects ; macdeployqt gpsbabelfe-bin.app -dmg + msvc-build: make CC=@CL.EXE DEBUGGING="" EXTRA_CFLAGS="-nologo -W3 -WL -D__WIN32__ -I msvc/expat " OUTPUT_SWITCH="-Fo" $(OBJS) echo $(OBJS) > objs.lst -- 2.30.2